<?php

use think\migration\Migrator;
use think\migration\db\Column;

class AddAgentNoAdd extends Migrator
{
    public function up()
    {
        $sql = <<<SQL
ALTER TABLE `agent_balance_log`
MODIFY COLUMN `trade_no`  varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '支付宝交易号';


SQL;

        $this->execute($sql);

    }

    public function down()
    {

    }
}
